[INFO] cloning repository https://github.com/alggalin/ssbu-less-lag-3-frames-stutter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alggalin/ssbu-less-lag-3-frames-stutter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ffbe363281dc56a4679db471662bd6cd2298209b
[INFO] fixing alggalin/ssbu-less-lag-3-frames-stutter against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falggalin%2Fssbu-less-lag-3-frames-stutter" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter
[INFO] finished tweaking git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter
[INFO] tweaked toml for git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alggalin/ssbu-less-lag-3-frames-stutter already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb
[INFO] running `Command { std: "docker" "start" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling skyline_macro v0.2.1 (https://github.com/ultimate-research/skyline-rs#7bd379b2)
[INFO] [stderr]    Compiling serde_json v1.0.147
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking libc-nnsdk v0.4.0
[INFO] [stderr]     Checking zmij v0.1.9
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking itoa v1.0.16
[INFO] [stderr]     Checking serde_core v1.0.228
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]     Checking nnsdk v0.5.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking skyline v0.5.1 (https://github.com/ultimate-research/skyline-rs#7bd379b2)
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking testing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/vsync_history.rs (4 fixes)
[INFO] [stderr]        Fixed src/vsync.rs (1 fix)
[INFO] [stderr]        Fixed src/swapchain.rs (3 fixes)
[INFO] [stderr]        Fixed src/sequencing.rs (3 fixes)
[INFO] [stderr]        Fixed src/off_by_one.rs (2 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sequencing.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     if NVN_SYNC_WAIT.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/sequencing.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     if NVN_QUEUE_WAIT_SYNC.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/swapchain.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 |     if POINTER.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/vsync_history.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if ACQUIRE_TEXTURE_PTR.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 |     if SYNC_WAIT.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&mut SYSTEM_EVENT);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&raw mut SYSTEM_EVENT);
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:60
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if PRESENT_TEXTURE_PTR.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:248:44
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sequencing.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     if NVN_SYNC_WAIT.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/sequencing.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     if NVN_QUEUE_WAIT_SYNC.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/swapchain.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 |     if POINTER.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/vsync_history.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if ACQUIRE_TEXTURE_PTR.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 |     if SYNC_WAIT.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&mut SYSTEM_EVENT);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&raw mut SYSTEM_EVENT);
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:60
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if PRESENT_TEXTURE_PTR.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:248:44
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.19s
[INFO] [stderr] crater-edition-check: testing v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking testing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `profiling::OsTick` and `vsync_history::get_system_tick`
[INFO] [stdout]  --> src/off_by_one.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{profiling::OsTick, vsync_history::get_system_tick};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Duration`
[INFO] [stdout]  --> src/profiling.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/sequencing.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 |     sync::atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sequencing`
[INFO] [stdout]  --> src/swapchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sequencing;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `profiling::OsTick` and `vsync_history::get_system_tick`
[INFO] [stdout]  --> src/off_by_one.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{profiling::OsTick, vsync_history::get_system_tick};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Duration`
[INFO] [stdout]  --> src/profiling.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     time::Duration,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/sequencing.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 |     sync::atomic::{AtomicBool, Ordering},
[INFO] [stdout]   |                                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sequencing`
[INFO] [stdout]  --> src/swapchain.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sequencing;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/off_by_one.rs:75:47
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub unsafe fn post_scene_update_submit_render(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/sequencing.rs:44:47
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 44 |     crate::profiling::start_frame(OsTick::new(unsafe { get_system_tick() }));
[INFO] [stdout]    |                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:61:30
[INFO] [stdout]    |
[INFO] [stdout] 61 | unsafe fn log_frame_duration(ctx: &InlineCtx) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 | unsafe fn run_scene_wait(ctx: &InlineCtx) {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/swapchain.rs:91:45
[INFO] [stdout]    |
[INFO] [stdout] 91 | unsafe fn flush_swap_buffers_before_present(ctx: &skyline::hooks::InlineCtx) { unsafe {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_vsync_disabled`
[INFO] [stdout]    --> src/swapchain.rs:197:16
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn install(is_vsync_disabled: bool) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vsync_disabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | unsafe fn profile_sync_wait(ctx: &mut InlineCtx) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 138 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | unsafe fn profile_sync_wait(ctx: &mut InlineCtx) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_render_sync`
[INFO] [stdout]    --> src/vsync_history.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let p_render_sync = *((p_gfx_device + 0x20) as *const u64);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_render_sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 238 | unsafe fn grab_vi_layer_handle(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]     |                                                   ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 247 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:251:26
[INFO] [stdout]     |
[INFO] [stdout] 238 | unsafe fn grab_vi_layer_handle(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]     |                                                   ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 251 |     let max_frame_info = unsafe { list_frame_info(std::ptr::null_mut(), 0, layer) };
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/vsync_history.rs:324:28
[INFO] [stdout]     |
[INFO] [stdout] 324 | fn profile_unk_taskworker1(ctx: &InlineCtx) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disable_frame_pacer` is never used
[INFO] [stdout]  --> src/pacer.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn disable_frame_pacer() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]   --> src/pacer.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn install() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_nanos` and `to_nanos` are never used
[INFO] [stdout]   --> src/profiling.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl OsTick {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub const fn from_nanos(nanos: i64) -> Self {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub const fn to_nanos(self) -> i64 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Span` is never constructed
[INFO] [stdout]   --> src/profiling.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Span {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     FrameStart { tick: OsTick },
[INFO] [stdout]    |     ----------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (lib test) due to 9 previous errors; 48 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: fields `frame` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     SubmitFrame { frame: usize, tick: OsTick },
[INFO] [stdout]    |     -----------   ^^^^^         ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     StartSpan { name: &'static str, tick: OsTick },
[INFO] [stdout]    |     ---------   ^^^^                ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |     EndSpan { tick: OsTick },
[INFO] [stdout]    |     -------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `frame` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |     FinishFrame { frame: usize, tick: OsTick },
[INFO] [stdout]    |     -----------   ^^^^^         ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     VBlank { tick: OsTick },
[INFO] [stdout]    |     ------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameSpan` is never constructed
[INFO] [stdout]   --> src/profiling.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | struct FrameSpan {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameInFlight` is never constructed
[INFO] [stdout]    --> src/profiling.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | struct FrameInFlight {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubmittedFrame` is never constructed
[INFO] [stdout]    --> src/profiling.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct SubmittedFrame {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_span` is never used
[INFO] [stdout]    --> src/profiling.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn serialize_span(span: &FrameSpan, buffer: &mut Vec<u8>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_frame` is never used
[INFO] [stdout]    --> src/profiling.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn serialize_frame(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread` is never used
[INFO] [stdout]    --> src/profiling.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn thread(receiver: Receiver<Item>) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> src/profiling.rs:272:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub fn setup() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_scene_manager_calls` is never used
[INFO] [stdout]   --> src/sequencing.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn patch_scene_manager_calls() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SHOULD_RUN` is never used
[INFO] [stdout]   --> src/sequencing.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | static SHOULD_RUN: AtomicBool = AtomicBool::new(true);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runner_thread` is never used
[INFO] [stdout]   --> src/sequencing.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn runner_thread(ptr: u64) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_sync_wait` is never used
[INFO] [stdout]    --> src/sequencing.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn patch_sync_wait() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]    --> src/sequencing.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn install() {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_swap_flush_call` is never used
[INFO] [stdout]    --> src/swapchain.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn patch_swap_flush_call() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OFFSET1` is never used
[INFO] [stdout]   --> src/vsync.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | static mut OFFSET1: u64 = 0;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OFFSET2` is never used
[INFO] [stdout]   --> src/vsync.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | static mut OFFSET2: u64 = 0;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_nnsdk_offset` is never used
[INFO] [stdout]   --> src/vsync.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | unsafe fn calc_nnsdk_offset() -> u64 { unsafe {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]   --> src/vsync.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn install(profiling_enabled: bool) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Enqueued` and `Presented` are never constructed
[INFO] [stdout]   --> src/vsync_history.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum FrameStatus {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Enqueued,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Presented,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FrameStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LAST_ENQUEUED` is never used
[INFO] [stdout]   --> src/vsync_history.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | static mut LAST_ENQUEUED: usize = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vsync_thread` is never used
[INFO] [stdout]    --> src/vsync_history.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn vsync_thread(layer: Layer, display: Display) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_to_timespan` is never used
[INFO] [stdout]   --> src/vsync_history.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn convert_to_timespan(tick: i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sequencing.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     if NVN_SYNC_WAIT.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/sequencing.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     if NVN_QUEUE_WAIT_SYNC.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/vsync_history.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if ACQUIRE_TEXTURE_PTR.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 |     if SYNC_WAIT.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&mut SYSTEM_EVENT);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&raw mut SYSTEM_EVENT);
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:60
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if PRESENT_TEXTURE_PTR.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:248:44
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/off_by_one.rs:75:47
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub unsafe fn post_scene_update_submit_render(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/sequencing.rs:44:47
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 44 |     crate::profiling::start_frame(OsTick::new(unsafe { get_system_tick() }));
[INFO] [stdout]    |                                               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub unsafe fn run_scene_manager(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]    |                                 ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:61:30
[INFO] [stdout]    |
[INFO] [stdout] 61 | unsafe fn log_frame_duration(ctx: &InlineCtx) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/sequencing.rs:69:26
[INFO] [stdout]    |
[INFO] [stdout] 69 | unsafe fn run_scene_wait(ctx: &InlineCtx) {
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/swapchain.rs:91:45
[INFO] [stdout]    |
[INFO] [stdout] 91 | unsafe fn flush_swap_buffers_before_present(ctx: &skyline::hooks::InlineCtx) { unsafe {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_vsync_disabled`
[INFO] [stdout]    --> src/swapchain.rs:197:16
[INFO] [stdout]     |
[INFO] [stdout] 197 | pub fn install(is_vsync_disabled: bool) {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_vsync_disabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | unsafe fn profile_sync_wait(ctx: &mut InlineCtx) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 138 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 109 | unsafe fn profile_sync_wait(ctx: &mut InlineCtx) { unsafe {
[INFO] [stdout]     |                                                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_render_sync`
[INFO] [stdout]    --> src/vsync_history.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let p_render_sync = *((p_gfx_device + 0x20) as *const u64);
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_render_sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:247:5
[INFO] [stdout]     |
[INFO] [stdout] 238 | unsafe fn grab_vi_layer_handle(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]     |                                                   ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 247 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/vsync_history.rs:251:26
[INFO] [stdout]     |
[INFO] [stdout] 238 | unsafe fn grab_vi_layer_handle(ctx: &InlineCtx) { unsafe {
[INFO] [stdout]     |                                                   ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 251 |     let max_frame_info = unsafe { list_frame_info(std::ptr::null_mut(), 0, layer) };
[INFO] [stdout]     |                          ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]    --> src/vsync_history.rs:324:28
[INFO] [stdout]     |
[INFO] [stdout] 324 | fn profile_unk_taskworker1(ctx: &InlineCtx) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `disable_frame_pacer` is never used
[INFO] [stdout]  --> src/pacer.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn disable_frame_pacer() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]   --> src/pacer.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn install() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_nanos` and `to_nanos` are never used
[INFO] [stdout]   --> src/profiling.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl OsTick {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub const fn from_nanos(nanos: i64) -> Self {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub const fn to_nanos(self) -> i64 {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Span` is never constructed
[INFO] [stdout]   --> src/profiling.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct Span {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     FrameStart { tick: OsTick },
[INFO] [stdout]    |     ----------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `frame` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |     SubmitFrame { frame: usize, tick: OsTick },
[INFO] [stdout]    |     -----------   ^^^^^         ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |     StartSpan { name: &'static str, tick: OsTick },
[INFO] [stdout]    |     ---------   ^^^^                ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:45:15
[INFO] [stdout]    |
[INFO] [stdout] 45 |     EndSpan { tick: OsTick },
[INFO] [stdout]    |     -------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `frame` and `tick` are never read
[INFO] [stdout]   --> src/profiling.rs:47:19
[INFO] [stdout]    |
[INFO] [stdout] 47 |     FinishFrame { frame: usize, tick: OsTick },
[INFO] [stdout]    |     -----------   ^^^^^         ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tick` is never read
[INFO] [stdout]   --> src/profiling.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |     VBlank { tick: OsTick },
[INFO] [stdout]    |     ------   ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameSpan` is never constructed
[INFO] [stdout]   --> src/profiling.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 | struct FrameSpan {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FrameInFlight` is never constructed
[INFO] [stdout]    --> src/profiling.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | struct FrameInFlight {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SubmittedFrame` is never constructed
[INFO] [stdout]    --> src/profiling.rs:105:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | struct SubmittedFrame {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_span` is never used
[INFO] [stdout]    --> src/profiling.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn serialize_span(span: &FrameSpan, buffer: &mut Vec<u8>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serialize_frame` is never used
[INFO] [stdout]    --> src/profiling.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn serialize_frame(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `thread` is never used
[INFO] [stdout]    --> src/profiling.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn thread(receiver: Receiver<Item>) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup` is never used
[INFO] [stdout]    --> src/profiling.rs:272:8
[INFO] [stdout]     |
[INFO] [stdout] 272 | pub fn setup() {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_scene_manager_calls` is never used
[INFO] [stdout]   --> src/sequencing.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn patch_scene_manager_calls() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SHOULD_RUN` is never used
[INFO] [stdout]   --> src/sequencing.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | static SHOULD_RUN: AtomicBool = AtomicBool::new(true);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `runner_thread` is never used
[INFO] [stdout]   --> src/sequencing.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn runner_thread(ptr: u64) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_sync_wait` is never used
[INFO] [stdout]    --> src/sequencing.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn patch_sync_wait() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]    --> src/sequencing.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub fn install() {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `patch_swap_flush_call` is never used
[INFO] [stdout]    --> src/swapchain.rs:153:4
[INFO] [stdout]     |
[INFO] [stdout] 153 | fn patch_swap_flush_call() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OFFSET1` is never used
[INFO] [stdout]   --> src/vsync.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | static mut OFFSET1: u64 = 0;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `OFFSET2` is never used
[INFO] [stdout]   --> src/vsync.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | static mut OFFSET2: u64 = 0;
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_nnsdk_offset` is never used
[INFO] [stdout]   --> src/vsync.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | unsafe fn calc_nnsdk_offset() -> u64 { unsafe {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `install` is never used
[INFO] [stdout]   --> src/vsync.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn install(profiling_enabled: bool) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Enqueued` and `Presented` are never constructed
[INFO] [stdout]   --> src/vsync_history.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum FrameStatus {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Enqueued,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 11 |     Presented,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FrameStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LAST_ENQUEUED` is never used
[INFO] [stdout]   --> src/vsync_history.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | static mut LAST_ENQUEUED: usize = 0;
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vsync_thread` is never used
[INFO] [stdout]    --> src/vsync_history.rs:191:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | pub fn vsync_thread(layer: Layer, display: Display) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_to_timespan` is never used
[INFO] [stdout]   --> src/vsync_history.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn convert_to_timespan(tick: i64) -> i64;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sequencing.rs:95:8
[INFO] [stdout]    |
[INFO] [stdout] 95 |     if NVN_SYNC_WAIT.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/sequencing.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     if NVN_QUEUE_WAIT_SYNC.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/vsync_history.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     if ACQUIRE_TEXTURE_PTR.is_none() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 |     if SYNC_WAIT.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&mut SYSTEM_EVENT);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 139 |         wait_system_event(&raw mut SYSTEM_EVENT);
[INFO] [stdout]     |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:34
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:145:60
[INFO] [stdout]     |
[INFO] [stdout] 145 |         unsafe { list_frame_info(FRAME_INFOS.as_mut_ptr(), FRAME_INFOS.len() as i32, LAYER) };
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if PRESENT_TEXTURE_PTR.is_none() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/vsync_history.rs:248:44
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 248 |         assert_eq!(get_display_vsync_event(&raw mut SYSTEM_EVENT, display), 0);
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `testing` (lib) due to 9 previous errors; 48 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb", kill_on_drop: false }`
[INFO] [stdout] 98e12a929c8efb35b92b0fc00b141d8140a64104a25ec7e5a9988d8de20c55bb
